* keyboard.c (make_lispy_position): Fix typo in last change (Bug#7935).
authorChong Yidong <cyd@stupidchicken.com>
Sat, 29 Jan 2011 15:17:00 +0000 (10:17 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 29 Jan 2011 15:17:00 +0000 (10:17 -0500)
src/ChangeLog
src/keyboard.c

index f0a8353daf893efa46508175c1d2053264f8b95b..08d741f0b08f23829b02f1fc3b71e44144be689e 100644 (file)
@@ -1,3 +1,8 @@
+2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
+
+       * keyboard.c (make_lispy_position): Fix typo in last change
+       (Bug#7935).
+
 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
 
        * s/ms-w32.h (HAVE_MKTIME): Remove.
index 7a5185d43da0d686a148c97224d3235e4035d881..3283fd4dfe40a7ea48945f8ba44330404a6f9b46 100644 (file)
@@ -5155,7 +5155,7 @@ make_lispy_position (struct frame *f, Lisp_Object x, Lisp_Object y,
             is the X coordinate relative to the text area for
             text-area and right-margin clicks, zero otherwise.  */
          int x2
-           = (part == ON_TEXT) ? x2
+           = (part == ON_TEXT) ? xret
            : (part == ON_RIGHT_FRINGE || part == ON_RIGHT_MARGIN)
            ? (XINT (x) - window_box_left (w, TEXT_AREA))
            : 0;